home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat3 / ffs.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  763 b   |  25 lines

  1.  
  2. FFS(3)                     UNIX Programmer's Manual                     FFS(3)
  3.  
  4. NNAAMMEE
  5.      ffffss - find first bit set in a bit string
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttrriinngg..hh>>
  9.  
  10.      _i_n_t
  11.      ffffss(_i_n_t _v_a_l_u_e)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The ffffss() function finds the first bit set in _v_a_l_u_e and returns the index
  15.      of that bit.  Bits are numbered starting from 1, starting at the right-
  16.      most bit.  A return value of 0 means that the argument was zero.
  17.  
  18. SSEEEE AALLSSOO
  19.      bitstring(3)
  20.  
  21. HHIISSTTOORRYY
  22.      The ffffss() function appeared in 4.3BSD.
  23.  
  24. BSD Experimental                April 19, 1991                               1
  25.